﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using Bussiness;
using Model;

namespace Services1
{
    public partial class WebService
    {

        #region Store Services
        [WebMethod]
        public static AssureMessage RegisterStore(ProductStore store)
        {
            return StoreManager.RegisterStore(store);

        }
        [WebMethod]
        public static AssureMessage ModifyStore(ProductStore store)
        {
            return StoreManager.ModifyStore(store);
        }
        [WebMethod]
        public static List<ProductStore> GetListStore()
        {
            return StoreManager.GetListStore();
        }
        #endregion
        #region Depot Services
        [WebMethod]
        public static AssureMessage RegisterDepot(Depot depot)
        {
            return DepotManager.RegisterDepot(depot);

        }
        [WebMethod]
        public static AssureMessage ModifyDepot(Depot depot)
        {
            return DepotManager.ModifyDepot(depot);
        }
        [WebMethod]
        public static List<Depot> GetListDepot()
        {
            return DepotManager.GetListDepot();
        }
        #endregion
    }
}